/**
 * Created by Cameron on 2/6/14.
 */
public class Right_Angle_Triangle_Drawer {
    void draw_right_angle_triangle(int n) {
        for(int i=0; i<n; i++) {
            for(int j=n-i-1; j<n; j++) {
                System.out.print("*");
            }
            System.out.println();
        }
        System.out.println();
    }

    public static void main(String[] args) {
        Right_Angle_Triangle_Drawer triangle_drawer = new Right_Angle_Triangle_Drawer();
        triangle_drawer.draw_right_angle_triangle(3);
        triangle_drawer.draw_right_angle_triangle(4);
        triangle_drawer.draw_right_angle_triangle(0);
    }
}
